SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 40675: A misleading message appears if 2 or more directory levels do not exist in a UNIX file system path when running Base SAS® on a z/OS platform

DetailsAboutRate It

In SAS® 9, if two or more directory levels do not exist in a UNIX file system (UFS) LIBNAME path, the following message appears in the SAS log:

1    libname tst '/u/sasusr/nothere1/nothere2';
ERROR: User does not have appropriate authorization level for library TST. 
ERROR: Error in the LIBNAME statement. 

If only the lowest directory level does not exist, then SAS creates that directory and writes an appropriate NOTE to the SAS log:

1    libname tst '/u/sasusr/nothere1';                                      
NOTE: SAS data library (HFS directory) /u/sasusr/nothere1 did not exist; it 
      was created.                                                       
NOTE: Libref TST was successfully assigned as follows:                   
      Engine:        BASE                                                
      Physical Name: /u/sasusr/nothere1     


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.1 TS1M09.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.